# 标准卡计算逻辑
def calculate_standard_card_gifted():

    # 获取用户输入
    standard_card_consumption = float(input("请输入标准卡的消耗: "))
    total_consumption = float(input("请输入全部消耗: "))
    gifted_consumption = float(input("请输入赠款消耗: "))

    # 计算标准卡的赠款消耗
    standard_card_gifted = (standard_card_consumption / total_consumption) * gifted_consumption

    return standard_card_gifted


# 执行计算
result = calculate_standard_card_gifted()
print(f"标准卡的赠款消耗为: {result:.2f}")

# 每周二和月初2号要改日期

# 投流数据
# https://business.oceanengine.com/site/account-manage/ecp/bidding/universe/account?keyword=[%22%E6%89%B6%E6%91%87%22]&searchType=[0]

#  扶摇 ---》刘栋
#  696.65   39.97+0.04
# 670.81    0.18
# 587.77   =83.83+ 0.08


#  bpf （加上 饱饱吃不抱， 大馋可丫头 ）
# 4844.94  + 2033.01  + 591.33
# =92.21+ 52.9- (2902.42/4145.39*52.9)+8.28+25.98+ (2033.01 / 6526.69  *  18.86 ) + (591.33 / 646.50 * 9.82)
# 5165.07 + 715.54  +
#0 +0 + 84.12+ 104.76 +

# =3764.78 + 1040.59  +511.66
#  =34.52- (2571.02 / 3632.35 * 34.52) + 384.41 + 0 + 231.39 +





# 标准卡
# 2902.42     =2902.42/4145.39*52.9
# 2939.34    2,939.34 /4561.11 * 0
# 2571.02   = 2571.02 / 3632.35 * 34.52


#  lxx （去掉 饱饱吃不抱， 大馋可丫头）
#  15,610.07 - 2,033.01 -591.33
#  =18.86 -(2033.01 / 6526.69  *  18.86) + 43.98 + 63.52 + 5.12  + 9.82-(591.33 / 646.50 * 9.82) +9.97
#   5584.38 -715.54
#   10.23+ 46.96+ 7.79- (715.54 / 768.67  * 7.79) + 12.88+  150.26 +  0
#   =9148.78 -1040.59 -511.66
#   =207.80- (1040.59 / 2205.31  * 207.80) + 0 + 52.55 + 0 + 22.59+  161.05



# 千川MSKJ-宛禾米线速食（短视频-Lxx）
# 饱饱吃不饱  ： 2,033.01 / 6,526.69  *  18.86
# 1040.59 / 2205.31  * 207.80



# 互动千川-宛禾米线官方（短视频lxx）
# 大馋丫头可可 ： 591.33 / 646.50 * 9.82
#  715.54 / 768.67  * 7.79
#  511.66 / 538.32 *0


#  飘雪
# 190.29
#  9.88 +
# 435.10
# 210.51   11.58



#  花妞 ---爆品侠
# 97.56
# 2.23



#  莨辰
# 3.67
# 3.67
# 3.39


# 秋成传媒
# 65.47
# 285.47


# 推直播
# 11.25小宋家直播专场-土豆粉
# ID：1841395684740611
#
#
# 喜喜大号-土豆粉
# ID：1841396641495168